<template>
  <div class="total">
    <div class="center">
      <div class="triangle"></div>
      <div class="game-left">
        <a class="top1">
          <el-image :src="require('../../assets/icon.jpg')"></el-image>
          <span>万灵起源</span>
        </a>
        <div class="bottom">
          <a href="#" v-for="item in 3" :key="item">
            <el-image :src="require('../../assets/icon.jpg')"></el-image>
            <span>命运</span>
          </a>
        </div>
      </div>
      <div class="game-right">
        <ul>
          <li>
            <el-image :src="require('../../assets/title.png')"></el-image>
          </li>
          <li v-for="item in 6" :key="item">新游预告</li>
        </ul>
      </div>
    </div>
  </div>
</template>
<style scoped>
.total {
  display: none;
  position: absolute;
  z-index: 99;
}
.triangle {
  left: 80px;
}
.center {
  display: flex;
  position: absolute;
  width: 466px;
  height: 256px;
  top: 20px;
  left: -50px;
  background-color: #fff;
  z-index: 5;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  border-radius: 0 0 5px 5px;
}
.game-left {
  width: 60%;
}
.top1 {
  display: block;
  position: relative;
  width: 240px;
  height: 128px;
  margin: 10px 10px;
}
.top1 .el-image {
  width: 240px;
  height: 128px;
  border-radius: 5px;
}
.top1 span {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 30px;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  padding: 0 10px;
}
.bottom {
  width: 100%;
}
.bottom a {
  display: block;
  float: left;
  width: 88px;
  height: 110px;
  padding: 6px 12px 0;
  text-align: center;
}
.bottom a:hover {
  background-color: #e7e7e7;
}
.bottom .el-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.bottom span {
  width: 60px;
  color: #000;
  font-size: 14px;
  text-shadow: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.game-right {
  width: 201px;
  background: url(../../assets/line.png) no-repeat;
  margin-top: 10px;
}
.game-title {
  background: url(../../assets/title.png) no-repeat;
}
.game-right li:nth-child(n + 2) {
  padding-left: 20px;
  color: #000;
  text-shadow: none;
  font-size: 12px;
  margin-left: 5px;
}
.game-right li:nth-child(n + 2):hover {
  background-color: #e7e7e7;
  color: #00a1d6;
}
</style>
